home *** CD-ROM | disk | FTP | other *** search
/ Joystick Magazine 2000 November / cd joystick no120 novembre 2000 cd 1.iso / data / demos / gunlok / data1.cab / Program_Executable_Files / scripts / pulsoxfrag.gsh < prev    next >
Text File  |  2000-08-22  |  1KB  |  53 lines

  1. // defines the fragmented pulsox turret
  2. ////////////////////////////////////////////////////////////////////////////////////
  3.  
  4. // start wrapper - prevent multiple inclusions or recursive inclusions
  5.  
  6. //(this currently causes 'unrecognized preprocessor directive' warnings, until implemented)
  7. #ifndef INCLUDED_pulsoxFRAG_GSH
  8. #define INCLUDED_pulsoxFRAG_GSH
  9.  
  10. ////////////////////////////////////////////////////////////////////////////////////
  11.  
  12. #include "defaults.gsh"
  13.  
  14. shape Shp_base
  15. {
  16.     file    "units\pulsox.rif"
  17.     name    "L7#base01"
  18. }
  19.  
  20. role Rol_base : Rol_PlacedObject
  21. {
  22.     shape            Shp_base
  23.     identifier        "base"
  24.     ai blocker
  25. }
  26.  
  27.  
  28. hierarchy Hcy_pulsoxFrag
  29. {
  30.     file    "units\pulsoxfrag.rif"
  31.     name    "pulsoxfrag"
  32.     hotspot none
  33. }
  34.  
  35. role Rol_pulsoxFrag : Rol_FragObject
  36. {
  37.     shape            Hcy_pulsoxFrag
  38.     identifier        "pulsoxfrag"
  39. }
  40.  
  41. frag data Frg_pulsox
  42. {
  43.     role Rol_pulsoxFrag
  44.     scale 6
  45.     replace role     Rol_base
  46.     replace yes
  47. }
  48.  
  49. ////////////////////////////////////////////////////////////////////////////////////
  50.  
  51. // end wrapper - for preventing multiple or recursive inclusions
  52. #endif // !INCLUDED_pulsoxFRAG_GSH
  53.